//
//  PostNetWorking.h
//  ccpBuild
//
//  Created by chirui on 16/6/15.
//  Copyright © 2016年 chirui. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^SuccessBlock) (id responseObject);
typedef void (^RestultBlock) (BOOL reslut);
typedef void (^FailurelBlock)(NSURLSessionDataTask * _Nullable task,NSError * error);

@interface PostNetWorking : NSObject

//GET
+(void)netWorkingStr:(NSString *)str Success:(SuccessBlock)suceess failed:(FailurelBlock)failed;

//POST
+(void)postNetWorkingStr:(NSString *)str andparameters:(id)paramet  Success:(SuccessBlock)suceess failed:(FailurelBlock)failed;

@end
